package com.iflytek.universitymanagement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.iflytek.universitymanagement.domain.CourseResource;
import com.iflytek.universitymanagement.domain.Resource;

import java.util.List;

public interface ResourceService extends IService<Resource> {

    List<Resource> findResourcesByCourseId(int courseId);
        List<CourseResource> getAllResourcesWithCourseName();

    boolean createResource(Resource resource);  // 自定义方法

}
